let path = "http://localhost:8080/Saxon_Blog_war/";
let account=document.getElementById("userAccount");
//登录验证
function user_account() {
    $.get({
        url:path+"/login/check",
        data:{"userAccount":$("#userAccount").val()},
        success:function (data) {
            if (data===true){
                $("#userAccount").addClass("is-valid");
                $("#userAccount").removeClass("is-invalid");
            }else {
                $("#userAccount").addClass("is-invalid")
                $("#userAccount").removeClass("is-valid")
            }
        }
    })
}
